
<?php 
	$openidurl_data = array('name' => 'openid_identifier',
						'value' => $openid_url,
						'style' => 'height: 12px; width: 150%');
	$username_data = array('name' => 'username',
						'value' => $username,
						'style' => 'height: 12px; width: 150%');
	$email_data = array('name' => 'email',
						'value' => $email,
						'style' => 'height: 12px; width: 150%');
	$submit_data = array('name'=>'submit_user',
						'value'=> 'Register');

?>


<div id="main_content">
	<h1>Register new user</h1>
	<div id="register_form">
		<?php echo form_open('login/registerUser');?>
		<table>
			<tr>
			<td><?php echo form_label('OpenID url: ');?></td>
			<td><?php echo form_input($openidurl_data);?></td>
			</tr>
			<tr>
			<td><?php echo form_label('Username: ');?></td>
			<td><?php echo form_input($username_data);?></td>
			</tr>
			<tr>
			<td><?php echo form_label('Email: ');?></td>
			<td><?php echo form_input($email_data);?></td>
			</tr>
		</table>
		<?php echo validation_errors();?>
		<?php echo form_submit($submit_data);?>
		<?php echo form_close();?>
	</div>
</div>